import request from "@/utils/request";

const baseURL = "/official-website/video";

export const list = (videoName: WebVideo["videoName"] = "") =>
  request<Res<WebVideo[]>>({
    url: `${baseURL}/list`,
    method: "POST",
    data: {
      videoName,
    },
  });
